package com.lrs.java.rmi.server;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class HelloWorldImpl extends UnicastRemoteObject implements HelloWorld {

	private static final long serialVersionUID = -7971132380761069438L;
	
	protected HelloWorldImpl() throws RemoteException {
		super();
	}

	@Override
	public String sayHello() throws RemoteException {
		System.out.println("client say hello");
		return "Hello World!";
	}
	
	
}
